package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:17
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysMessageKeyDAO extends IDataAccessInterface<SysMessageKey, SysMessageKeyDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_MESSAGE_KEY";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_MESSAGE_KEY.ID";

    /**
     * Mapped Field MESSAGE_CATALOG
    */
    static final String MessageCatalog = "SYS_MESSAGE_KEY.MESSAGE_CATALOG";

    /**
     * Mapped Field MESSAGE_KEY
    */
    static final String MessageKey = "SYS_MESSAGE_KEY.MESSAGE_KEY";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_MESSAGE_KEY.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_MESSAGE_KEY.STATUS";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysMessageKey findById(final long id) throws Exception;

    /**
         * Query Related SysMessageResource
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.system.dao.SysMessageResource[] querySysMessageResource(
        final SysMessageKeyDAOQueryBean queryBean) throws Exception;

    /**
         * Query Related SysMessageResource Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] querySysMessageResourceSelective(
        final SysMessageKeyDAOQueryBean queryBean) throws Exception;

    /**
         * Update Related SysMessageResource
         * @param aSysMessageResource
         * @param queryBean
         * @throws Exception
         */
    void updateSysMessageResource(
        final com.ourteam.system.dao.SysMessageResource aSysMessageResource,
        SysMessageKeyDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related SysMessageResource
         * @param queryBean
         * @throws Exception
         */
    void deleteSysMessageResource(final SysMessageKeyDAOQueryBean queryBean)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute messageCatalog
         */
        static final String MessageCatalog = "messageCatalog";

        /**
         * Attribute messageKey
         */
        static final String MessageKey = "messageKey";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
